class Person{
	
	constructor(private name:string,private age:number){
		
	}
	
	public static name2 = "小艾2";
	
	show():void{
		console.log(`名字:${this.name},,年龄:${this.age}`)
	}
}

let p:Person = new Person("小艾",18);
p.show();
console.log(Person.name2)
